/*
 *  Multi2Sim
 *  Copyright (C) 2012  Rafael Ubal (ubal@ece.neu.edu)
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef M2C_AMD_H
#define M2C_AMD_H

#include <stdio.h>

/* Forward declarations */
struct list_t;


/*
 * Global Variables
 */

extern int amd_dump_all;
extern int amd_opt_level;
extern int amd_list_devices;
extern char *amd_device_name;


void amd_init(void);
void amd_done(void);

void amd_dump_device_list(FILE *f);
void amd_compile(struct list_t *source_file_list, struct list_t *bin_file_list);

#endif

